﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace StorageManage
{
    public class SearchData
    {
        #region 01基础数据筛选条件
       

 
        ///// <summary>
        ///// 人员筛选条件
        ///// </summary>
        //public static List<SearchCondition> GetUserSearch
        //{
        //    get
        //    {
        //        return new List<SearchCondition>()
        //        {
        //            new SearchCondition(){Field="UserName",Operator="co"},
        //            new SearchCondition(){Field="DepId",Operator="="}
        //        };
        //    }
        //}
        ///// <summary>
        ///// 地区筛选条件
        ///// </summary>
        //public static List<SearchCondition> GetLocSearch
        //{
        //    get
        //    {
        //        return new List<SearchCondition>()
        //        {
        //            new SearchCondition(){Field="LocName",Operator="co"},
        //            new SearchCondition(){Field="LocUpperCode",Operator="co"},
        //        };
        //    }
        //} 
        //#endregion
        ///// <summary>
        ///// 选择角色
        ///// </summary>
        //public static List<SearchCondition> GetRoleSearch
        //{
        //    get
        //    {
        //        return new List<SearchCondition>()
        //        {
        //            new SearchCondition(){Field="UserName",Operator="co"},
        //        };
        //    }
        //} 
        //选择项目管理
        public static List<SearchCondition> GetProjSearch
        {
            get
            {
                return new List<SearchCondition>()
                {
                    new SearchCondition(){Field="ProjNum",Operator="co"},
                    new SearchCondition(){Field="ProjName",Operator="co"}
                };
            }
        }
        //选择工程管理
        public static List<SearchCondition> GetEngSearch
        {
            get
            {
                return new List<SearchCondition>()
                {
                    new SearchCondition(){Field="EngNum",Operator="co"},
                    new SearchCondition(){Field="EngName",Operator="co"}
                };
            }
        }
        #endregion
        //部门管理信息查询
        public static List<SearchCondition> GetDepManageSearch
        {
            get
            {
                return new List<SearchCondition>()
                {

                    new SearchCondition(){Field="LocUpperCode",Operator="co"},

                    new SearchCondition(){Field="UserName",Operator="co"},

                    new SearchCondition(){Field="DepName",Operator="co"},
                };
            }
        }


    }
}